package com.happyface.itemtouchhelper;

import java.util.List;

/**
 * Created by hxm on 2017/5/15.
 * 描述：
 */
public class ModuleData {

    /**
     * session : xxxx
     * user_model_list : [{"model_name":"","model_id":" "},{"model_name":"","model_id":" "}]
     * more_model_list : [{"model_name":"","model_id":" "},{"model_name":"","model_id":" "}]
     */
    private boolean isEdit;
    private String session;
    private List<ModuleInfo> user_model_list;
    private List<ModuleInfo> more_model_list;

    public boolean isEdit() {
        return isEdit;
    }

    public void setEdit(boolean edit) {
        isEdit = edit;
    }

    public String getSession() {
        return session;
    }

    public void setSession(String session) {
        this.session = session;
    }

    public List<ModuleInfo> getUser_model_list() {
        return user_model_list;
    }

    public void setUser_model_list(List<ModuleInfo> user_model_list) {
        this.user_model_list = user_model_list;
    }

    public List<ModuleInfo> getMore_model_list() {
        return more_model_list;
    }

    public void setMore_model_list(List<ModuleInfo> more_model_list) {
        this.more_model_list = more_model_list;
    }

    public static class ModuleInfo {
        /**
         * model_name :
         * model_id :
         */

        private String model_name;
        private String model_id;

        public String getModel_name() {
            return model_name;
        }

        public void setModel_name(String model_name) {
            this.model_name = model_name;
        }

        public String getModel_id() {
            return model_id;
        }

        public void setModel_id(String model_id) {
            this.model_id = model_id;
        }
    }

}
